package cn.wolfcode.mapper;

import cn.wolfcode.domain.QuestionItem;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface QuestionItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(QuestionItem record);

    QuestionItem selectByPrimaryKey(Long id);

    List<QuestionItem> selectAll();

    int updateByPrimaryKey(QuestionItem record);

    List<QuestionItem> selectForList(QueryObject qo);

    List<String>selectChoice(Long id);

    List<String>selectAnswer(Long q_id);
}